const busi = {
  busiCode: { type: 'string', description: '业务状态' },
  msg: { type: 'string', description: '业务描述' }
}
module.exports = {
  modifyPwdReq: {
    password: { type: 'string', description: '旧密码' },
    newPassword: { type: 'string', description: '新密码' }
  },
  myInfoRes: {
    ...busi,
    userInfo: { type: 'userData' }
  },
  userData: {
    id: { type: 'string', description: 'id' },
    name: { type: 'string', description: '昵称' },
    headIcon: { type: 'string', description: '头像地址' },
    phone: { type: 'string', description: '手机号码' },
    email: { type: 'string', description: '邮箱' },
    realName: { type: 'string', description: '真实姓名' }
  },
  modifyInfoReq: {
    phone: { type: 'string', description: '手机号码' },
    email: { type: 'string', description: '邮箱' },
    realName: { type: 'string', description: '真实姓名' }
  }
}
